<template>
  <div>
    <div class="head">
      <img :src="'back.png' | imagePath" />
      <p>换电</p>
      <span></span>
    </div>
    <div class="chargeCabinetChange-title">旧电池</div>
    <div class="chargeCabinetChange-item">
      <span>编号: </span>
      <input type="text" placeholder="请输入编号">
      <img :src="'sm.png' | imagePath" />
    </div>
    <div class="chargeCabinetChange-item">
      <span>编号: </span>
      <input type="text" placeholder="请输入编号">
      <img :src="'sm.png' | imagePath" />
    </div>
    <div class="chargeCabinetChange-title">新电池</div>
    <div class="chargeCabinetChange-item">
      <span>编号: </span>
      <input type="text" placeholder="请输入编号">
      <img :src="'sm.png' | imagePath" />
    </div>
    <div class="chargeCabinetChange-item">
      <span>编号: </span>
      <input type="text" placeholder="请输入编号">
      <img :src="'sm.png' | imagePath" />
    </div>
    <div class="chargeCabinetChange-btn">保存</div>
  </div>
</template>
<script>
  export default{
    data(){
      return{}
    },
    beforeCreate() {
      document.querySelector('body').setAttribute('style', ' background:#F4F4F4')
    },
  }
</script>
<style>
.chargeCabinetChange-title{
  color: #999999;
  line-height: 1.08rem;
  margin: 0 0.4rem;
}
.chargeCabinetChange-item{
  background-color: #FFFFFF;
  border-bottom: 1px solid #EEEEEE;
  padding: 0 0.4rem;
  height: 1.33rem;
  display: flex;
  align-items: center;
}
.chargeCabinetChange-item span{
  width: 2rem;
  font-size: 0.34rem;
  color: #333333;
}
.chargeCabinetChange-item input{
  flex: 1;
}
.chargeCabinetChange-item img{
  display: block;
  width: 0.53rem;
  height: 0.53rem;
}
.chargeCabinetChange-btn{
  width: 9.2rem;
  height: 1.06rem;
  line-height: 1.06rem;
  background-color: #6DC5C6;
  color: #FFFFFF;
  font-size: 0.38rem;
  text-align: center;
  position: fixed;
  left: 0;
  right: 0;
  margin: auto;
  bottom: 0.66rem;
  border-radius: 0.53rem;
}
</style>
